package com.hhf.job.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class BaseJobLog {
    @TableId
    private Long logId;
    private Integer jobId;
    private String jobName;
    private String className;
    private String method;
    private String params;
    private String cron;
    /**
     * 1自动执行，2手动执行
     */
    private Integer execType;
    /**
     * 0失败，1成功
     */
    private Integer execStatus;
    private String execMsg;
    /**
     * 任务执行开始时间
     */
    private LocalDateTime created;
    /**
     * 任务执行结束时间
     */
    private LocalDateTime updated;
    private String createdBy;
}
